package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author:   tangwei
 * Date:     2021/4/19 16:51
 * Description: 编辑评论
 */
@Data
public class CommentUpdateDTO implements Serializable {

    private static final long serialVersionUID = -7839658724289963836L;

    /**
     * 评论主键id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 评论内容
     */
    private String commentContent;

    /**
     * 评论附件
     */
    private String commentFile;

    /**
     * @人集合JSON串
     */
    private String atJson;

}